/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

link
链接相关接口

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/


#ifndef PortalApiModel_h
#define PortalApiModel_h
#import <JDCloudOCSDKCore/JDCloudOCSDKCore.h>
#import <JDCloudOCSDKPortal/PortalModel.h>


@interface PortalDescribeProductRequest:JDCloudRequest

/// 产品url
@property (strong,nonatomic,nonnull)  NSString*  url;
/// 中文cn 英文en
@property (strong,nonatomic,nonnull)  NSString*  lang;
/// 外部使用ak；
@property (strong,nonatomic,nonnull)  NSString*  ak;
-(id) initWithRegion:(NSString *)regionId
url:(NSString*)url
lang:(NSString*)lang
ak:(NSString*)ak;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
url:(NSString*)url
lang:(NSString*)lang
ak:(NSString*)ak;

@end

@interface PortalDescribeProductsByIdRequest:JDCloudRequest

/// 语言类型；中文cn；英文en；
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;
/// 外部使用ak；
@property (strong,nonatomic,nonnull)  NSString*  ak;
-(id) initWithRegion:(NSString *)regionId
idValue:(NSNumber*)idValue
ak:(NSString*)ak;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
idValue:(NSNumber*)idValue
ak:(NSString*)ak;

@end

@interface PortalDescribeProductsByIdResult : NSObject
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<Navigation*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithResult:(NSArray<Navigation*>*) result;
@end

@interface PortalDescribeProductsByIdResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property PortalDescribeProductsByIdResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(PortalDescribeProductsByIdResult*) result;
@end

@interface PortalDescribeProductResult : NSObject
/// 产品详情
 @property (strong,nonatomic,nonnull)  Product*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithResult:(Product*) result;
@end

@interface PortalDescribeProductResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property PortalDescribeProductResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(PortalDescribeProductResult*) result;
@end

#endif /* PortalApiModel_h */
